package com.freesky.biz.activity.service;

import com.freesky.biz.activity.domain.*;
import com.freesky.common.core.domain.AjaxResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发券情况查询 服务层
 *
 * @author freesky
 */
public interface ICouponBillService {
    public List<TCouponBill> findList(TCouponBill entity);
    public TStockMonitorSummary selectSummaryData(TCouponBill entity);
    public List<TCouponBillSummary> selectBillSummaryList(TCouponBill entity);
    public AjaxResult exportSummaryFile(TCouponBill entity);

    public AjaxResult exportFile(TCouponBill entity);

    public int deleteBillByConsumeTime(String stockId, String startDt,String endDt);
    public int addBatchOrUpdate(List<TCouponBill> couponBills);
    public int updateEmptyBankNo(String stockId,String consumeTime);

    public String selectMaxUpdateDate();
}
